<%@page import="models.Profil" %>
<% Profil obj = (Profil)request.getAttribute("profil");%>

<h1>Toko <%=(obj != null ? obj.nama_toko : "")%></h1>
<h2><%=(obj != null ? obj.welcome_msg : "")%></h2>
<div class="profil">
    <table class="form" id="profil_form2">
        <tr>
            <td><label>Gambar</label></td>
            <td><img alt=""  src="<%= request.getContextPath() + "/" + (obj != null ? obj.path_logo : "")%>"></td>
        </tr>
        <tr>
            <td><label for="nama_toko">Nama</label></td>
            <td><%=(obj != null ? obj.nama_toko : "")%></td>
        </tr>
        <tr>
            <td><label for="deskripsi">Deskripsi</label></td>
            <td><%=(obj != null ? obj.deskripsi : "")%></td>
        </tr>
        <tr>
            <td><label for="alamat">Alamat</label></td>
            <td><%=(obj != null ? obj.alamat: "")%></td>
        </tr>
        <tr>
            <td><label for="telepon">Telepon</label></td>
            <td><%=(obj != null ? obj.telepon: "")%></td>
        </tr>
        <tr>
            <td><label for="email">Email</label></td>
            <td><%=(obj != null ? obj.email: "")%></td>
        </tr>
        <tr>
            <td><label for="diskon">Diskon</label></td>
            <td><%=(obj != null ? obj.diskon: "")%></td>
        </tr>
    </table>
</div>